﻿namespace KillBill.Common.View
{
    public interface IKillBillView
    {
        string Text { get; set; }

        void ShowConnectionErrorMessage(string module);

        MessageResponse ShowMessage(string message);
        MessageResponse ShowMessage(string title, string message);
        MessageResponse ShowMessage(string title, string message, MessageOptions options, MessageIcon icon);

        void Close();

    }

    public enum MessageIcon
    {
        Error,
        Exclamation,
        Hand,
        Information,
        None,
        Question,
        Warning
    }
    public enum MessageOptions
    {
        AbortRetryIgnore,
        Ok,
        OkCancel,
        RetryCancel,
        YesNo,
        YesNoCancel
    }
    public enum MessageResponse
    {
        Abort,
        Cancel,
        Ignore,
        No,
        None,
        Ok,
        Retry,
        Yes
    }
}
